/**
 * 功能描述 卡片
 */

define(function (require, exports, module) {
	var Component = require("form");
	
    var instance = {
        initComponent : function (params, widget) {
            var component = new Component({
            	 parentNode: ".J-form",
            	 show : false,
                 model: {
                     id: "form",
                     defaultButton : false,
                     layout: "3_1",
                     items: [{
                    	 name : "year",
                    	 type : "date",
                         label : "年度",
                  	   	 mode : "YYYY",
                         readonly : true,
                     },{
                    	 name : "planName",
                         type : "text",
                         label : "计划名称",
                         readonly : true,
                     },{
                         name : "desName",
                         type : "text",
                         label : "目的地",
                         readonly : true,
                     },{
                     	 name : "startDate",
                     	 type : "date",
                         label : "开始日期",
                  	   	 mode : "YYYY-MM-DD",
                         readonly : true,
                     },{
                    	  name : "endDate",
                          type : "date",
                          label : "结束日期",
                          mode : "YYYY-MM-DD",
                          readonly : true,
                     },{
                    	  name : "signUpNumber",
                          type : "text",
                          label : "报名人数",
                          readonly : true,
                     },{
                    	 name : "totalAmount",
                         type : "text",
                         label : "收费总金额",
                         readonly : true,
                     }]
                 }
            });
            widget.set("form", component);
        }
    };
    module.exports = instance;
});
